<?php

function __autoload($class_name)
{
    $path = str_replace("_", "/", $class_name);
    
    $path = getcwd() ."/".$path.".php";
    echo "autoloading " . $path . "\n";
    require_once $path;
}